﻿using System.Runtime.Serialization;

namespace DosTexPrj.Core.Models
{
    [DataContract]
    public class User : EntityBaseWithIntIDType
    {
        [DataMember]
        public virtual string FirstName { get; set; }

        [DataMember]
        public virtual string LastName { get; set; }

        [DataMember]
        public virtual string Username { get; set; }

        [DataMember]
        public virtual string Password { get; set; }

        [DataMember]
        public virtual Role Role { get; set; }

        public User() { }
    }
}